home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
AIncludes
/
PointingPlugin.a
< prev
next >
Wrap
Text File
|
1996-05-01
|
2KB
|
58 lines
;
; File: PointingPlugin.a
;
; Contains: Interface for Pointer Family Plugins
;
; Version: Technology: Copland
; Release: Universal Interfaces 3.0d3 on Copland DR1
;
; Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
;
; Bugs?: If you find a problem with this file, send the file and version
; information (from above) and the problem description to:
;
; Internet: apple.bugs@applelink.apple.com
; AppleLink: APPLE.BUGS
;
;
IF &TYPE('__POINTINGPLUGIN__') = 'UNDEFINED' THEN
__POINTINGPLUGIN__ SET 1
IF &TYPE('__NAMEREGISTRY__') = 'UNDEFINED' THEN
include 'NameRegistry.a'
ENDIF
IF &TYPE('__POINTING__') = 'UNDEFINED' THEN
include 'Pointing.a'
ENDIF
IF &TYPE('__TYPES__') = 'UNDEFINED' THEN
include 'Types.a'
ENDIF
IF FOR_SYSTEM8_PREEMPTIVE THEN
; *************** Calls Implemented By Plugins ***************
kCoplandPTPluginVersion EQU $00000001
PTPluginHeader RECORD 0
version ds.l 1 ; offset: $0 (0) ; version of the plugin interface
reserved1 ds.l 1 ; offset: $4 (4)
reserved2 ds.l 1 ; offset: $8 (8)
reserved3 ds.l 1 ; offset: $C (12)
sizeof EQU * ; size: $10 (16)
ENDR
PTDeviceDispatchTable RECORD 0
header ds PTPluginHeader ; offset: $0 (0)
PTPluginValidateHardware ds.l 1 ; offset: $10 (16)
PTPluginInitialize ds.l 1 ; offset: $14 (20)
PTPluginTerminate ds.l 1 ; offset: $18 (24)
PTPluginStartIO ds.l 1 ; offset: $1C (28)
PTPluginStopIO ds.l 1 ; offset: $20 (32)
PTPluginGetNextData ds.l 1 ; offset: $24 (36)
PTPluginGetDeviceModes ds.l 1 ; offset: $28 (40)
PTPluginSetDeviceModes ds.l 1 ; offset: $2C (44)
sizeof EQU * ; size: $30 (48)
ENDR
; typedef struct PTDeviceDispatchTable * PTDeviceDispatchTablePtr
ENDIF
ENDIF ; __POINTINGPLUGIN__